package com.dji.GSDemo.GaodeMap.entity;


import java.util.Date;

/**
 * @author zkw
 * @date 2020/2/8 12:19
 */
public class FlyingPath {
    private Integer id;

    private Integer airportZ;

    private Integer airportA;

    private String name;

    private String pathData;

    private String description;

    private Date createTime;

    private Date updateTime;

    private String heightData;

    // 新增字段
    private Integer isSetWaypoint;      // 是否已分配路径点 0：未分配，1：已分配
    private Float autoFlightSpeed;     // 飞行速度
    private String FinishedAction;      // 任务完成后执行的动作代码
    private String FinishedActionName;      // 任务完成后执行的动作名称

    public String getFinishedActionName() {
        return FinishedActionName;
    }

    public void setFinishedActionName(String finishedActionName) {
        FinishedActionName = finishedActionName;
    }

    public Integer getIsSetWaypoint() {
        return isSetWaypoint;
    }

    public void setIsSetWaypoint(Integer isSetWaypoint) {
        this.isSetWaypoint = isSetWaypoint;
    }

    public Float getAutoFlightSpeed() {
        return autoFlightSpeed;
    }

    public void setAutoFlightSpeed(Float autoFlightSpeed) {
        this.autoFlightSpeed = autoFlightSpeed;
    }

    public String getFinishedAction() {
        return FinishedAction;
    }

    public void setFinishedAction(String finishedAction) {
        FinishedAction = finishedAction;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAirportZ() {
        return airportZ;
    }

    public void setAirportZ(Integer airportZ) {
        this.airportZ = airportZ;
    }

    public Integer getAirportA() {
        return airportA;
    }

    public void setAirportA(Integer airportA) {
        this.airportA = airportA;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }


    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getPathData() {
        return pathData;
    }

    public void setPathData(String pathData) {
        this.pathData = pathData;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getHeightData() {
        return heightData;
    }

    public void setHeightData(String heightData) {
        this.heightData = heightData;
    }

    @Override
    public String toString() {
        return "FlyingPath{" +
                "id=" + id +
                ", airportZ=" + airportZ +
                ", airportA=" + airportA +
                ", name='" + name + '\'' +
                ", pathData='" + pathData + '\'' +
                ", description='" + description + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", heightData='" + heightData + '\'' +
                ", isSetWaypoint=" + isSetWaypoint +
                ", autoFlightSpeed=" + autoFlightSpeed +
                ", FinishedAction='" + FinishedAction + '\'' +
                ", FinishedActionName='" + FinishedActionName + '\'' +
                '}';
    }
}
